const joi = require("@hapi/joi")
const name = joi.string().required()
const alias = joi.string().alphanum().required()
const id = joi.number().integer().min(1).required()
exports.add_cates_schema = {
    body: {
        name,
        alias
    }
}
exports.getId_cates_schema = {
    params: { id },
}
exports.update_cates_schema = {
    body: {
        name,
        alias,
        id
    }
}
